﻿@{
    ViewBag.Title = "_GroupPartialView";
}

<table>
    <caption>Groups</caption>
    <thead>
        <tr>
            <th>Name</th>
        </tr>
    </thead>
    <tbody>
        @foreach(var group in Model)
        {
            <tr>
                <td>
                    <a href="~/Account/Group/@group.id">
                        @group.name
                    </a>
                </td>
            </tr>
        }
    </tbody>
</table>